package com.extendsDemo.Demo01;

/*
要写注释哦!!!
*/
public class B extends A {
    //继承A的类
    public void print3() {
        //输出公有变量i和方法
        System.out.println(i);
        print1();

        //输出私有变量i和方法
//        System.out.println(j);
//        print2();
    }
}
